import 'package:oktoast/oktoast.dart';

class Toast {
  static show(String msg, {duration = 1500}) {
    showToast(msg, duration: Duration(milliseconds: duration));
  }

  static cancelToast() {
    dismissAllToast(showAnim: true);
  }
}
